<ui:composition xmlns='http://www.w3.org/1999/xhtml'
                xmlns:h='http://java.sun.com/jsf/html'
                xmlns:f='http://java.sun.com/jsf/core'
                xmlns:ui='http://java.sun.com/jsf/facelets'>

<h:outputText value='#{v != 0? v : null}' style="#{style != null? style : 'float:right'}" title='#{t}' styleClass='#{styleClass}'>

<f:convertNumber minFractionDigits='#{r != null? r : 2}' maxFractionDigits='#{r != null? r : 2}'/>

</h:outputText>

</ui:composition>